<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #go {
            width: 100px;
            height: 160px;
            animation: go 1s infinite;
            overflow: hidden;
            background-image: url(./LZ%5{~SSE0@]9J%V\)JF0WQP.jpg );
            background-size: cover;
            background-repeat: no-repeat;
            animation-timing-function: steps(4);
            float: left;
            margin-left: 100px;
        }

        @keyframes go {
            from {
                background-position: 0 0;
            }

            to {
                background-position: -420px 0;
                /* transform: rotate(360deg); */
            }
        }
        #to {
            width: 100px;
            height: 160px;
            animation:to  1s infinite;
            overflow: hidden;
            background-image: url(./LZ%5{~SSE0@]9J%V\)JF0WQP.jpg );
            background-size: cover;
            background-repeat: no-repeat;
            animation-timing-function: steps(4);
            float: left;
            margin-left: 100px;
            transform: rotateY(180deg);
        }

        @keyframes to {
            from {
                background-position: 0 0;
            }

            to {
                background-position: -420px 0;
                
            }
        }
    </style>
</head>

<body>
    <div id="go">
    </div>
    <div id="to">

    </div>

</body>

</html>